/* 250 */
/***/
function uniquePositions(positions) {
  if (positions.length == 0) {
    return [];
  }
  var newPositions = [positions[0]];
  for (var i = 1; i < positions.length; ++i) {
    var np = newPositions[newPositions.length - 1];
    if (np[0] !== positions[i][0] || np[1] !== positions[i][1] || np[2] !== positions[i][2]) {
      newPositions.push([...positions[i]]);
    }
  }

  return newPositions;
}

export default uniquePositions;
